package com.kelvin.paopao.injector.modules;

import com.kelvin.paopao.injector.PerActivity;
import com.kelvin.paopao.module.main.find.filter.FindFilterActivity;
import com.kelvin.paopao.module.main.find.filter.FindFilterPresenter;
import com.kelvin.paopao.module.market.wallet.charge.ChargeActivity;
import com.kelvin.paopao.module.market.wallet.charge.IWalletChargePresenter;
import com.kelvin.paopao.module.market.wallet.charge.WalletChargePresenter;

import dagger.Module;
import dagger.Provides;

/**
 * Created by MCK on 2017/5/23.
 */

@Module
public class FindFilterModule {
    private FindFilterActivity mView;

    public FindFilterModule(FindFilterActivity view) {
        this.mView = view;
    }

    @PerActivity
    @Provides
    public FindFilterPresenter providePresenter() {
        return new FindFilterPresenter(mView);
    }


}
